/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model.item.plugin;

import java.awt.Image;
import model.game.GameInterface;
import model.item.Item;
import model.item.PlantableItem;
import model.item.SellableItem;
import model.utility.ImageUtility;

/**
 * When planted, create a stone that cannot be stepped on
 * @author dolphinigle
 */
public class TomatoSeed extends Item implements PlantableItem, SellableItem {

  /**
   * Constructor
   */
  public TomatoSeed(GameInterface game) {
    super(game);
  }

  @Override
  public String getName() {
    return "Tomato Seed";
  }

  @Override
  public int getSellPrice() {
    return 50;
  }

  @Override
  public String getDescription() {
    return "Shoots tomatoes to adversaries. Grows in one day and produces "
            + "fruit everyday. Dies in one day. Cannot attack without "
            + "its fruit. Fruit sells for 50$.";
  }

  @Override
  public Image getImage() {
    return ImageUtility.loadImage("resources/pictures/item/tomatoseed.png");
  }

  @Override
  public int buyPrice() {
    return 100;
  }

  @Override
  public String getPlantName() {
    return "Tomato Plant";
  }

}
